package com.cloud.school.app.service;

import com.cloud.school.app.model.ImageModel;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * @ClassName Image
 * @Description TODO
 * @Author 36297
 * @Date 2018/12/14 0:48
 * @Version 1.0
 */
public interface ImageService {
    ImageModel save(MultipartFile file, Long userId);

    ImageModel seleteById(Long imageId);

    List<ImageModel> seleteByIds(List<Long> imageIds);

    boolean delete(Long imageId);
}
